
let request = require('../../../utils/request');

let requestApi = {

};

//删除收藏
requestApi.deleteCollect = (data, loading = true) => {
	return request({
		url: '/userCollect/del',
		data,
		loading,
        method: 'PUT'
	});
}

//查询收藏列表
requestApi.getCollectList = (data, loading = true) => {
	return request({
		url: '/userCollect/getList',
		data,
		loading,
	});
}

//查询标签列表
requestApi.getTagList = (data, loading = true) => {
	return request({
		url: '/userCollect/getLabNameList',
		data,
		loading,
	});
}

export default requestApi